var RandomNumberTest = TestCase.create({
    name: 'Random number test',
    
    testAjaxUpdate: function() {
      this.mockAjax({text: '1234'});

      update_random_number();

      // the block will be updated right now
      this.assertEqual(
        '1234', $('randomNumberElement').innerHTML
      );

      this.undoAjaxMock();
    },
    
    
});
